﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<NDepot.Models.UI.ProductInput>" %>

<%: Html.HiddenFor(model => model.Id) %>

<div class="editor-label">
    <%: Html.LabelFor(model => model.Title) %>
</div>
<div class="editor-field">
    <%: Html.TextBoxFor(model => model.Title) %>
    <%: Html.ValidationMessageFor(model => model.Title) %>
</div>
            
<div class="editor-label">
    <%: Html.LabelFor(model => model.Description) %>
</div>
<div class="editor-field">
    <%: Html.TextBoxFor(model => model.Description) %>
    <%: Html.ValidationMessageFor(model => model.Description) %>
</div>
            
<div class="editor-label">
    <%: Html.LabelFor(model => model.ImageUrl) %>
</div>
<div class="editor-field">
    <%: Html.TextBoxFor(model => model.ImageUrl) %>
    <%: Html.ValidationMessageFor(model => model.ImageUrl) %>
</div>
            
<div class="editor-label">
    <%: Html.LabelFor(model => model.Price) %>
</div>
<div class="editor-field">
    <%: Html.TextBoxFor(model => model.Price) %>
    <%: Html.ValidationMessageFor(model => model.Price) %>
</div>